Skip to content

Conversation

pedrovian4
Copy link

  • Introduces SSR-friendly URL helpers and optional asset preload:
    • isBrowser(), appURL() (safe host resolution for SSR), and asset() with protocol handling.
  • Optional preload injection (boolean or options) to hint the browser via <link rel="preload">.
  • Adds Playwright tests for SSR and browser scenarios.
  • Adds root scripts to run core tests per framework (react, svelte, vue) and aggregate runs.

pedrovian4 and others added 3 commits August 9, 2025 01:35
…Add isBrowser, appURL (SSR-friendly host resolution), and asset helper with protocol handling\n- Support optional preload injection (boolean or options) with type-safe PreloadOptions and AssetOptions\n- Export new helpers via core index and types\n- Add Playwright tests for appURL and asset (SSR and browser) with clean global mocks\n- Add root scripts to run core tests per framework (react, svelte, vue) and aggregate runs
@pedrovian4
Copy link
Author

@joetannenbaum @reinink Hello guys, I would love to have those features in the core of the inertia, now a days on my app I've created a abstraction for it, what do you think about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant